package com.hanson.demo.actors;

import java.io.Serializable;

import lombok.Data;
/**
 * @author hanson 随便定义一个消息体
 */
@Data
public class Message implements Serializable {


	private String nodeId;

	private Object content;

	public Message(Object content) {
		this.content = content;
	}

	public Message(String nodeId, String content) {
		this.nodeId = nodeId;
		this.content = content;
	}
}
